package cn.tedu.boot091.mapper;

import cn.tedu.boot091.entity.Emp;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmpMapper {
    int insert(Emp emp);
    List<Emp> select();
    Emp selectById(int id);
    int deleteById(int id);
    int deleteByIds(List<Integer> id);
    int dynamicUpdate(Emp emp);
    int count();
}
